package com.hospital.workstation.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hospital.workstation.domain.MedicationAdvisory;
import com.hospital.workstation.domain.vo.MedicationAdvisoryVo;
import com.hospital.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 用药咨询Mapper接口
 *
 * @author whb
 * @date 2023-02-21
 */
public interface MedicationAdvisoryMapper extends BaseMapperPlus<MedicationAdvisoryMapper, MedicationAdvisory, MedicationAdvisoryVo> {
    /**
     * 查询用药咨询列表
     * @param page
     * @param wrapper
     * @return
     */
    Page<MedicationAdvisoryVo> customPageList(@Param("page") Page<MedicationAdvisory> page, @Param(Constants.WRAPPER) Wrapper<MedicationAdvisory> wrapper);
}
